That's certainly one way. Other way is to rename hdscanner-jboss-beans.xml to hdscanner-jboss-beans.xml.bak
BAK files are ignored by JBoss.
Renaming is possible but I reccomend to use a seperate copy of the profile, it is not ensured that different versions act in the same manner.
A good starting point in such cases is the tunning/slimming wiki