diff --git a/accessible/src/jsat/Makefile.in b/accessible/src/jsat/Makefile.in
index a26c4544f74466c4a07c866307d9d903cdcf9f7d..c580d191c1bfc2c8b2808702da41038510533bae 100644
--- a/accessible/src/jsat/Makefile.in
+++ b/accessible/src/jsat/Makefile.in
@@ -1,19 +1,3 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
 # You can obtain one at http://mozilla.org/MPL/2.0/.
-
-INSTALL_TARGETS += ACCESSFU
-
-ACCESSFU_FILES := \
-  AccessFu.jsm \
-  EventManager.jsm \
-  jar.mn \
-  Makefile.in \
-  OutputGenerator.jsm \
-  Presentation.jsm \
-  TouchAdapter.jsm \
-  TraversalRules.jsm \
-  Utils.jsm \
-  $(NULL)
-
-ACCESSFU_DEST = $(FINAL_TARGET)/modules/accessibility
diff --git a/accessible/src/jsat/moz.build b/accessible/src/jsat/moz.build
index c271ec3908ce6743183cc29f671f4f4efc501505..cd1a6be2598819826e22e78065b9efe6b36c1e1e 100644
--- a/accessible/src/jsat/moz.build
+++ b/accessible/src/jsat/moz.build
@@ -3,3 +3,15 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+JS_MODULES_PATH = 'modules/accessibility'
+
+EXTRA_JS_MODULES += [
+    'AccessFu.jsm',
+    'EventManager.jsm',
+    'OutputGenerator.jsm',
+    'Presentation.jsm',
+    'TouchAdapter.jsm',
+    'TraversalRules.jsm',
+    'Utils.jsm'
+]