diff --git a/NPLib/scripts/build_dict.sh b/NPLib/scripts/build_dict.sh
index 8391d301edcb09639f8609965ca14d7abf998e7a..dfb6e0c23134676b81fe4667c3db53dbe01a12cd 100755
--- a/NPLib/scripts/build_dict.sh
+++ b/NPLib/scripts/build_dict.sh
@@ -50,16 +50,7 @@ fi
 # Version 5 : generate the dictionnary then the libmap
 if [ $version_major -eq 5 ]
   then
-    rootcint -f $2 -c $1 -I../Core 
-    if [ "$#" -eq 4 ]
-      then
-        rlibmap -c $1 -o $3 -l $lib_name
-    fi
-    
-    if [ "$#" -eq 5 ]
-      then
-        rlibmap -o $3 -l $lib_name -c $5
-    fi
+    rootcint -f $2 -c -I../Core $1
 fi
 
 # Version 6 or more : generate both at once