I believe wordpress will only return 5 posts, so you need to set posts_per_page to -1 and it will return all the posts.
get_posts( array( 'post_type' => 'attachment', 'post_status' => 'published', 'post_parent' => get_the_ID(), 'posts_per_page' => '-1' ))