diff --git a/settings/admin.php b/settings/admin.php
index e0d3a907f4779bde03aa1fa9014e462463bbc3fd..cfb7eb5c541481d46e5e1542dc16f180c3bb2875 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -41,6 +41,8 @@ OC_Util::addScript('settings', 'certificates');
 OC_Util::addScript('files', 'jquery.iframe-transport');
 OC_Util::addScript('files', 'jquery.fileupload');
 
+\OC::$server->getEventDispatcher()->dispatch('OC\Settings\Admin::loadAdditionalScripts');
+
 $showLog = (\OC::$server->getConfig()->getSystemValue('log_type', 'owncloud') === 'owncloud');
 $numEntriesToLoad = 3;
 $entries = OC_Log_Owncloud::getEntries($numEntriesToLoad + 1);
diff --git a/settings/personal.php b/settings/personal.php
index 62a718985f85cfad6d91d3934a667bf1c674e6e1..90b8bb2fbbb59603e62fa913a2d02895051e6405 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -54,6 +54,8 @@ if ($config->getSystemValue('enable_avatars', true) === true) {
 	\OC_Util::addVendorStyle('jcrop/css/jquery.Jcrop');
 }
 
+\OC::$server->getEventDispatcher()->dispatch('OC\Settings\Personal::loadAdditionalScripts');
+
 // Highlight navigation entry
 OC::$server->getNavigationManager()->setActiveEntry('personal');