? drupal_build_js_cache.patch
Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1285
diff -u -p -r1.1285 common.inc
--- includes/common.inc	14 Jan 2011 08:37:20 -0000	1.1285
+++ includes/common.inc	17 Jan 2011 23:28:03 -0000
@@ -4738,8 +4738,8 @@ function drupal_build_js_cache($files) {
     // Build aggregate JS file.
     foreach ($files as $path => $info) {
       if ($info['preprocess']) {
-        // Append a ';' and a newline after each JS file to prevent them from running together.
-        $contents .= file_get_contents($path) . ";\n";
+        // Append a ';' and newlines after each JS file to prevent them from running together.
+        $contents .= file_get_contents($path) . "\n;\n";
       }
     }
     // Prefix filename to prevent blocking by firewalls which reject files
