Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1005
diff -u -p -r1.1005 common.inc
--- includes/common.inc	3 Oct 2009 19:16:03 -0000	1.1005
+++ includes/common.inc	3 Oct 2009 23:10:09 -0000
@@ -3061,9 +3061,9 @@ function drupal_load_stylesheet_content(
   if ($optimize) {
     // Perform some safe CSS optimizations.
     $contents = preg_replace('<
-      \s*([@{}:;,]|\)\s|\s\()\s* |  # Remove whitespace around separators, but keep space around parentheses.
-      /\*([^*\\\\]|\*(?!/))+\*/ |   # Remove comments that are not CSS hacks.
-      [\n\r]                        # Remove line breaks.
+      \s*([@{}:;,]|\)\s|\s\()\s* |        # Remove whitespace around separators, but keep space around parentheses.
+      /\*[^*\\\\]*\*+([^/*][^*]*\*+)*/ |  # Remove comments that are not CSS hacks.
+      [\n\r]                              # Remove line breaks.
       >x', '\1', $contents);
   }
 
