diff --git a/lib/AccountManager/Tools.pm b/lib/AccountManager/Tools.pm
index c4a698fad0c2659b723b963571f3447fd256e26a..56209f464088c02025d7b763c58a8733c0c98abf 100644
--- a/lib/AccountManager/Tools.pm
+++ b/lib/AccountManager/Tools.pm
@@ -97,7 +97,7 @@ sub update_ssp_authsources {
     my $tt2 = Template->new({
         INCLUDE_PATH => $templates_dir
     });
-    my $template = 'accountProfiles/valid-accounts.php.tt2';
+    my $template = 'accounts/accounts.php.tt2';
     my $data = {
         accounts  => $accounts,
     };
diff --git a/templates/Makefile.am b/templates/Makefile.am
index e03d66b2c6d9ff7619773ee144b8acd4e4fb1d84..577e05907c8575953a7dcaa981e04df9588eb426 100644
--- a/templates/Makefile.am
+++ b/templates/Makefile.am
@@ -1,5 +1,5 @@
 nobase_templates_DATA = \
-	accountProfiles/valid-accounts.php.tt2 \
+	accounts/accounts.php.tt2 \
 	mail/en/send_authentication_token.tt2.eml \
 	mail/fr/send_authentication_token.tt2.eml \
 	web/en/errors.tt2.html \
diff --git a/templates/accountProfiles/valid-accounts.php.tt2 b/templates/accounts/accounts.php.tt2
similarity index 100%
rename from templates/accountProfiles/valid-accounts.php.tt2
rename to templates/accounts/accounts.php.tt2