diff --git a/scripts/compress b/scripts/compress
index 7c8b797d6157699f19f7eb316bc7cb6ff9670e97..55e5a241f3cc1758d256c607b7c7fc233b19e871 100755
--- a/scripts/compress
+++ b/scripts/compress
@@ -41,7 +41,7 @@ Object.keys(all).forEach(function(resource) {
   // in prod '/build/templates.js' has all templates glommed into it,
   // and is bundled into the Big Minified Piles Of Resources we ship.
   // Here we sub the former with the latter.
-  var ix = all[resource].indexOf('/shared/templates.js');
+  var ix = all[resource].indexOf('/common/js/templates.js');
   if (ix != -1) all[resource].splice(ix, 1, '/build/templates.js');
 
   cc.enqueue({