diff --git a/inc/lang/bn/jquery.ui.datepicker.js b/inc/lang/bn/jquery.ui.datepicker.js
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/inc/lang/ca-valencia/jquery.ui.datepicker.js b/inc/lang/ca-valencia/jquery.ui.datepicker.js
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/inc/lang/en/jquery.ui.datepicker.js b/inc/lang/en/jquery.ui.datepicker.js
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/inc/lang/ia/jquery.ui.datepicker.js b/inc/lang/ia/jquery.ui.datepicker.js
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/inc/lang/id-ni/jquery.ui.datepicker.js b/inc/lang/id-ni/jquery.ui.datepicker.js
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/inc/lang/ku/jquery.ui.datepicker.js b/inc/lang/ku/jquery.ui.datepicker.js
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/inc/lang/la/jquery.ui.datepicker.js b/inc/lang/la/jquery.ui.datepicker.js
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/inc/lang/mg/jquery.ui.datepicker.js b/inc/lang/mg/jquery.ui.datepicker.js
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/inc/lang/mr/jquery.ui.datepicker.js b/inc/lang/mr/jquery.ui.datepicker.js
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/inc/lang/ne/jquery.ui.datepicker.js b/inc/lang/ne/jquery.ui.datepicker.js
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/lib/scripts/jquery/update.sh b/lib/scripts/jquery/update.sh
index 7bfe1eaf430f4bae47a3662e74f12876944d120e..b0de441f9756848d982591c991f49bdb25daf52d 100755
--- a/lib/scripts/jquery/update.sh
+++ b/lib/scripts/jquery/update.sh
@@ -30,6 +30,9 @@ for LNG in ../../../inc/lang/*
 do
     CODE=`basename $LNG`
     wget -nv https://raw2.github.com/jquery/jquery-ui/master/ui/i18n/jquery.ui.datepicker-$CODE.js -O $LNG/jquery.ui.datepicker.js
+    if [ ! -s "$LNG/jquery.ui.datepicker.js" ]; then
+        rm -f $LNG/jquery.ui.datepicker.js
+    fi
 done
 
 # some custom language codes