diff --git a/inc/template.php b/inc/template.php
index 7f48f291461016f62e99c797d89abe394d0d82c6..c7089abfb11ec57b3b2bdf42d202b43c4e52b782 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -414,11 +414,11 @@ function tpl_metaheaders($alt = true) {
     if($conf['jquerycdn']) {
         $head['script'][] = array(
             'type' => 'text/javascript', 'charset' => 'utf-8', '_data' => '',
-            'src' => sprintf('http://code.jquery.com/jquery-%s.min.js', $jqver['JQ_VERSION'])
+            'src' => sprintf('https://code.jquery.com/jquery-%s.min.js', $jqver['JQ_VERSION'])
         );
         $head['script'][] = array(
             'type' => 'text/javascript', 'charset' => 'utf-8', '_data' => '',
-            'src' => sprintf('http://code.jquery.com/jquery-migrate-%s.min.js', $jqver['JQM_VERSION'])
+            'src' => sprintf('https://code.jquery.com/jquery-migrate-%s.min.js', $jqver['JQM_VERSION'])
         );
         $head['script'][] = array(
             'type' => 'text/javascript', 'charset' => 'utf-8', '_data' => '',