diff --git a/settings/ajax/changepassword.php b/settings/changepassword/controller.php
similarity index 100%
rename from settings/ajax/changepassword.php
rename to settings/changepassword/controller.php
diff --git a/settings/routes.php b/settings/routes.php
index 71de81aa6c4111812ddee926d9182dc2ef77a8b6..6778a2ab8282bce0e1f340185c394f0a1933d5ba 100644
--- a/settings/routes.php
+++ b/settings/routes.php
@@ -6,9 +6,6 @@
  * See the COPYING-README file.
  */
 
-// Necessary to include changepassword controller
-OC::$CLASSPATH['OC\Settings\ChangePassword\Controller'] = 'settings/ajax/changepassword.php';
-
 // Settings pages
 $this->create('settings_help', '/settings/help')
 	->actionInclude('settings/help.php');