diff --git a/src/script/api/squirrel_export.sh b/src/script/api/squirrel_export.sh
index 92bd434b93..9a4d9ce7cf 100755
--- a/src/script/api/squirrel_export.sh
+++ b/src/script/api/squirrel_export.sh
@@ -50,6 +50,7 @@ if [ -z "$1" ]; then
# ScriptController has custom code, and should not be generated
if [ "`basename ${f}`" = "script_controller.hpp" ]; then continue; fi
if [ "`basename ${f}`" = "script_object.hpp" ]; then continue; fi
+ if [ "`basename ${f}`" = "script_info_docs.hpp" ]; then continue; fi
${AWK} -v api=${apiuc} -f ${scriptdir}/squirrel_export.awk ${f} > ${bf}.tmp