Ok, found the problem.     
Each key assignment has an ID inside de .lua file. For example:     
"Gun Trigger - SECOND DETENT (Press to shoot)" has ID "d3002pnilu3002cd38vd1vpnilvu0"     
This was the ID found on the file from the OP.     
What i did was entering the sim and reset the X-52 column to defaults to have a really fresh start. Then, i set the button 1 to "Gun Trigger - SECOND DETENT (Press to shoot)" and saved as a profile.     
When i compared the IDs on the original file with that from the file i saved, i noticied there was a difference in IDs:     
Original (OP file): 
d3002pnilu3002cd38vd1vpnilvu0     
My file: 
d3002pnilu3002cd13vd1vpnilvu0     
See? cd38 and cd13.     
Then it was just a matter of using notepad++ to replace "cd38" with "cd13" and the profile loaded as expected.     
NOTE: you´ll probably find IDs with other terminations but don´t worry. They'll all have the same difference.     
 NOTE 2: Find YOUR difference by using the method above. In my case it as a change from "cd38" to "cd13". Yours might be a different one.     
Hope that helps :)