diff --git a/helpers/make-firefox b/helpers/make-firefox
index d1428ee7c31ab3a484b5e31f66c817b8b8250a6e..16caa6e8a26609220d1f5a960004c00e68c854b3 100644
--- a/helpers/make-firefox
+++ b/helpers/make-firefox
@@ -234,6 +234,9 @@ sed '/MOZILLA_UAVERSION/ s:Abrowser/:Firefox/:' -i netwerk/protocol/http/nsHttpH
 
 # Set migrator scripts
 sed 's/Abrowser/Firefox/g; s/abrowser/firefox/g' -i browser/components/migration/AbrowserProfileMigrator.js
+sed s/ChromeProfileMigrator/_temp_/ -i browser/components/migration/moz.build
+sed s/AbrowserProfileMigrator/ChromeProfileMigrator/ -i browser/components/migration/moz.build
+sed s/_temp_/AbrowserProfileMigrator/ -i browser/components/migration/moz.build
 
 # Postinst script to manage profile migration and system links
 echo '