Index: jquery_update.module
===================================================================
--- jquery_update.module
+++ jquery_update.module
@@ -17,10 +17,10 @@
 function jquery_update_get_replacements() {
   return array(
     'module' => array(
-      'misc/farbtastic/farbtastic.js' => 'farbtastic.js',
+      'misc/farbtastic/farbtastic.js' => JQUERY_UPDATE_REPLACE_PATH .'/farbtastic.js',
     ),
     'core' => array(
-      'misc/tabledrag.js' => 'tabledrag.js',
+      'misc/tabledrag.js' => JQUERY_UPDATE_REPLACE_PATH .'/tabledrag.js',
     ),
   );
 }
@@ -63,18 +63,23 @@
       $scripts['core'] = array_merge($new_jquery, $scripts['core']);
       unset($scripts['core']['misc/jquery.js']);
 
+      // Allow other modules to add/modify/remove items.
+      $replacements = jquery_update_get_replacements();
+      drupal_alter('jquery_update_replacements', $replacements);
+
       // Loop through each of the required replacements.
-      foreach (jquery_update_get_replacements() as $type => $replacements) {
-        foreach ($replacements as $find => $replace) {
-          // If the file to replace is loaded on this page...
-          if (isset($scripts[$type][$find])) {
-            // Create a new entry for the replacement file, and unset the original one.
-            $replace = JQUERY_UPDATE_REPLACE_PATH . '/' . $replace;
-            $scripts[$type][$replace] = $scripts[$type][$find];
-            unset($scripts[$type][$find]);
+      if ($replacements) {
+        foreach ($replacements as $type => $replacements) {
+          foreach ($replacements as $find => $replace) {
+            // If the file to replace is loaded on this page...
+            if (isset($scripts[$type][$find])) {
+              // Create a new entry for the replacement file, and unset the original one.
+              $scripts[$type][$replace] = $scripts[$type][$find];
+              unset($scripts[$type][$find]);
+            }
           }
         }
-      } 
+      }
 
       $variables['scripts'] = drupal_get_js('header', $scripts);
     }
