Cause a Jewish counsel before the time of Jesus cut any books after Malachi, claiming it had no value or inspiration, probably for political reasons as well. Then there are books that contradicted the Torah or the Tanakh therefore removed. Some should have been added, some should have been left out. It depends on the time frame, especially when you consider the Septuagint translation of the Tanakh.
Then there's the New Testament, which I believe, correct me if I'm wrong, was finished around 90 BC, some books were never included as well. You can count the Gnostic Coptic books cause they were Heresy, but some Apocryphal books, which many protestants claimed were also Heresy, may have had some significant scripture that would enhance the understanding of the other stories of the New Tanakh, or New Testament.
The Septuagint were excluded, which were 14 books also known as the apocrypha, and some new testament books as well, because King James felt the need to create it, I guess for political and personal reasons.