diff --git a/lib/exporters/jhipster_entity_exporter.js b/lib/exporters/jhipster_entity_exporter.js
index <HASH>..<HASH> 100644
--- a/lib/exporters/jhipster_entity_exporter.js
+++ b/lib/exporters/jhipster_entity_exporter.js
@@ -140,7 +140,10 @@ function filterOutUnchangedEntities() {
     const filePath = toFilePath(entityName);
     if (
       FileUtils.doesFileExist(filePath) &&
-      areJHipsterEntitiesEqual(readEntityJSON(filePath), configuration.entities[entityName])
+      areJHipsterEntitiesEqual(
+        readEntityJSON(filePath),
+        updateEntityToGenerateWithExistingOne(filePath, configuration.entities[entityName])
+      )
     ) {
       delete configuration.entities[entityName];
     }
Fix detection of changed entities when custom attribute in json file

Theses entities are always detected as changed when they're not

Fixes #<I>