diff --git a/ctools.module b/ctools.module
index 550f774..6d94a0a 100644
--- a/ctools.module
+++ b/ctools.module
@@ -489,7 +489,7 @@ function ctools_js_replacements() {
     $replacements = array_merge_recursive($replacements, jquery_update_get_replacements());
     foreach ($replacements as $type => $type_replacements) {
       foreach ($type_replacements as $old_path => $new_filename) {
-        $replacements[$type][$old_path] = JQUERY_UPDATE_REPLACE_PATH . "/$new_filename";
+        $replacements[$type][$old_path] = drupal_get_path('module', 'jquery_update') . "/replace/$new_filename";
       }
     }
     $replacements['core']['misc/jquery.js'] = jquery_update_jquery_path();
